/*
 * Copyright (c) ShaoxiongDu <Shaoxiong.dev@aliyun.com> 2021 all Rights Reserved
 */

package zh.codegym.task.task08.task0828;

import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Scanner;

/* 
月份编号
*/

public class Solution {
    public static void main(String[] args) throws IOException {
        //在此编写你的代码
        Scanner sc = new Scanner(System.in);
        String s = sc.nextLine();
        String[] sMon = {"January", "February", "March",
                "April", "May", "June", "July", "August",
                "September", "October", "November", "December"};
        ArrayList<String> mon = new ArrayList<>(Arrays.asList(sMon));
        for (int i = 0; i < mon.size(); i++) {
            String m = mon.get(i);
            if (s.equals(m)) {
                System.out.printf("%s 是第 %d 个月", s, i + 1);
            }
        }
    }
}
